package com.xhwl.logistics.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xhwl.common.pojo.ResultJson;
import com.xhwl.common.pojo.cent.vehicle.VehcArea;
import com.xhwl.common.query.cent.vehicle.AreaQuery;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Lu.Aaron
 * @since 2021-02-08
 */
//@RestController
public interface IVehcAreaService extends IService<VehcArea> {
    /**
     * 区域列表
     * @param areaQuery
     * @return
     */
    @RequestMapping(value = "/area-service/list", method = RequestMethod.GET)
    List<VehcArea> list(@RequestPart  AreaQuery areaQuery);

    /**
     * 区域分页
     * @param areaQuery
     * @return
     */
    @RequestMapping(value = "/area-service/list", method = RequestMethod.POST)
    ResultJson areaPage(@RequestPart AreaQuery areaQuery);
}
